package com.flong.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 
 * @Description	TinyRadiusConfig配置 
 * @ClassName	TinyRadiusConfig
 * @Date		2018年1月18日 上午10:09:24
 * @Author		liangjl
 * @Copyright (c) All Rights Reserved, 2018.
 */
//@Configuration
@Component
@ConfigurationProperties(prefix ="radius")//以radius.为前缀进行.
public class TinyRadiusConfig  { 
	
	private String version;
	private int authPort;
	private int acctPort;
	private int adminPort;
	private int maxSessionTimeout;
	private int concurNumber;
	
	
	
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public int getAuthPort() {
		return authPort;
	}
	public void setAuthPort(int authPort) {
		this.authPort = authPort;
	}
	public int getAcctPort() {
		return acctPort;
	}
	public void setAcctPort(int acctPort) {
		this.acctPort = acctPort;
	}
	public int getAdminPort() {
		return adminPort;
	}
	public void setAdminPort(int adminPort) {
		this.adminPort = adminPort;
	}
	
	public int getConcurNumber() {
		return concurNumber;
	}
	public void setConcurNumber(int concurNumber) {
		this.concurNumber = concurNumber;
	}
	public int getMaxSessionTimeout() {
		return maxSessionTimeout;
	}
	public void setMaxSessionTimeout(int maxSessionTimeout) {
		this.maxSessionTimeout = maxSessionTimeout;
	}
	
	
}
